﻿using UnityEngine;
using UnityEditor;
using System.IO;
using System.Collections;
using System.Collections.Generic;

public class BuildAssetBundles {
	internal static string buildPath = Baiyy.Config.streamAssetsPath;
	internal static BuildAssetBundleOptions buildOpts = BuildAssetBundleOptions.None;
	#if UNITY_STANDALONE_OSX
	internal static BuildTarget buildTarget = BuildTarget.StandaloneOSXUniversal;
	#endif
	
	[MenuItem("Window/Build Bundles")]
	public static void BuildeUI() {
		BuildPipeline.BuildAssetBundles(buildPath, buildOpts, buildTarget);
	}
}